﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace tema_pattern
{
    abstract class Masina
    {
        protected string marca;
        protected string culoare;
        protected string transmisie;

        public Masina(string m, string c, string t)
        {
            marca = m;
            culoare = c;
            transmisie = t;

        }
        public Masina() { }



        public abstract void print();

        public string get_marca()
        {
            return marca;
        }
    }
}
